const steTime = (time, style) => {
    var N = time.getFullYear();
    var Y = (time.getMonth() + 1) < 10 ? '0' + (time.getMonth() + 1) : time.getMonth() + 1;
    var R = time.getDate() < 10 ? '0' + time.getDate() : time.getDate();
    var H = time.getHours() < 10 ? '0' + time.getHours() : time.getHours();
    var F = time.getMinutes() < 10 ? '0' + time.getMinutes() : time.getMinutes();
    var M = time.getSeconds() < 10 ? '0' + time.getSeconds() : time.getSeconds();
    return N + style + Y + style + R + " " + H + ':' + F + ":" + M
}
steTime(new Date(), '/')
// console.log(steTime(new Date(), '/'));
export default steTime 